package cn.yh.nft.turbo.order.sharding.strategy;

/**
 * @ClassName: ShardingTableStrategy
 * @Author: 草莓爱上啵啵
 */
public interface ShardingTableStrategy {

    /**
     * 获取分表结果
     * @param externalId 外部id
     * @param tableCount 表数量
     * @return
     */
    public int getTable(String externalId, int tableCount);
}
